//: C02:Scopy.cpp
// Copy one file to another, a line at a time
#include <string>
#include <fstream>

int main(void){
    using namespace std;
    ifstream in("Scopy.cpp");
    ofstream out("Scopy2.cpp");

    string s;
    while(getline(in, s)){
        out << s << "\n";
    }
}
    
